package com.bdm.property.management.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @Author: MAD4O
 * @Date: 2020/8/22 16:00
 * @Description: 
 */
@Data
@TableName(value = "parking")
public class Parking implements Serializable {
    /**
     * 停车信息编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 开始租赁时间
     */
    @TableField(value = "createtime")
    private Date createtime;

    /**
     * 停止租赁时间
     */
    @TableField(value = "stoptime")
    private Date stoptime;

    /**
     * 租赁费用
     */
    @TableField(value = "money")
    private Double money;

    /**
     * 租赁状态
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 业主编号，连接车位信息和业主信息
     */
    @TableField(value = "ownerId")
    private Long ownerid;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATETIME = "createtime";

    public static final String COL_STOPTIME = "stoptime";

    public static final String COL_MONEY = "money";

    public static final String COL_STATUS = "status";

    public static final String COL_OWNERID = "ownerId";
}